# CFLAGS+=-pthread
# LDFLAGS+=-pthread

# all:relyer

relayer: main.o relyer.o
	gcc $^ -o $@ -pthread

%.o:%.cpp
	gcc -c $< -o $@

%:%.cpp
	gcc $^ -o $@

clean:
	rm -rf *.o